package com.pkk.admin.web.controller;

import com.pkk.support.penguin.business.log.annotation.BusinessLog;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description: 测试日志
 * @author: peikunkun
 * @create: 2019-05-30 17:55
 **/
@RestController
public class UserLogTestController {


  @BusinessLog(desc = "日志")
  @RequestMapping("log")
  public Object log(String msg) {
    return msg;
  }

  @RequestMapping("nolog")
  public Object nolog(String msg) {
    return msg;
  }

}
